import React, { Component } from 'react'
import  "../../assets/iconfont/iconfont.css"
export default class Icon extends Component {
  render() {
    const {type, styles} = this.props
    return (
      <span className={["iconfont", type].join(" ")} style={{...styles}}></span>
    )
  }
}
